package assignment1;

import java.io.*;

public class GetUserInput {
    public static String getUChoice (String subMenu){
        System.out.print(subMenu);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String name = null;
        try{
            name = br.readLine();
            System.out.println("Inside Get UserChoice()");
            System.out.println("The User Input : " + name);
        }catch(IOException e){
            System.out.println("Error");
            System.exit(1);
        }
        return name;
    }

}

